package mju.cxf.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@ApiModel(description = "出售数据传输对象")
@Data
public class SalesDTO {
    @ApiModelProperty(value = "id")
    private Integer id;         // 出售ID

    @ApiModelProperty("product_id")
    private Integer productId;     // 出售商品ID

    @ApiModelProperty("specifications_id")
    private Integer specificationsId;     // 出售商品规格ID

    @ApiModelProperty("sales_number")
    private String salesNumber;     // 出售单号

    @ApiModelProperty( "name")
    private String name;     // 出售商品规格名称

    @ApiModelProperty("cdKey")
    private String cdKey;     // 卡密

    @ApiModelProperty("key_out_time")
    private LocalDate keyOutTime;     // 卡密过期时间

    @ApiModelProperty("user_id")
    private Integer userId;     // 出售用户id


    @ApiModelProperty("emp_sales_id")
    private Integer empSalesId;     // 员工出售id

    @ApiModelProperty("empnumber")
    private String empNumber;     // 员工出售编号

    @ApiModelProperty("employee_id")
    private Integer employeeId;     // 审核员工ID

    @ApiModelProperty("amount")
    private Double amount;     // 总金额


    @ApiModelProperty("shelf_days")
    private Integer shelfDays;  //上架天数

    @ApiModelProperty(value = "shelf_time")
    private LocalDate shelfTime; // 上架日期

    @ApiModelProperty(value = "create_time")
    private LocalDate createTime; // 用户记录的修改时间

    @ApiModelProperty("state")
    private Integer state;     // 状态

}
